<div class="productSpareParts view">
<h2><?php  echo __('Product Spare Part'); ?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($productSparePart['ProductSparePart']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Product'); ?></dt>
		<dd>
			<?php echo $this->Html->link($productSparePart['Product']['name'], array('controller' => 'products', 'action' => 'view', $productSparePart['Product']['id'])); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Spare Part'); ?></dt>
		<dd>
			<?php echo $this->Html->link($productSparePart['SparePart']['name'], array('controller' => 'spare_parts', 'action' => 'view', $productSparePart['SparePart']['id'])); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Product Spare Part'), array('action' => 'edit', $productSparePart['ProductSparePart']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Product Spare Part'), array('action' => 'delete', $productSparePart['ProductSparePart']['id']), null, __('Are you sure you want to delete # %s?', $productSparePart['ProductSparePart']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Product Spare Parts'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Product Spare Part'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Products'), array('controller' => 'products', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Product'), array('controller' => 'products', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Spare Parts'), array('controller' => 'spare_parts', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Spare Part'), array('controller' => 'spare_parts', 'action' => 'add')); ?> </li>
	</ul>
</div>
